# $Id: PKGBUILD 149031 2012-02-05 15:01:58Z bisson $
# Contributor: damir <damir@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=anthy
pkgver=9100h
_filecode=37536
pkgrel=3
pkgdesc='Hiragana text to Kana Kanji mixed text Japanese input method'
arch=('i686' 'x86_64')
url='http://sourceforge.jp/projects/anthy/'
license=('LGPL' 'GPL')
options=('!libtool')
source=("http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('bfea9e74e208c4b976b6bd7ac6784cd290c636fd')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --sysconfdir=/etc --disable-static
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make EMACS=emacs DESTDIR="${pkgdir}" install
}
